﻿using System;
using csvmb.contracts;
using NUnit.Framework;

namespace csvmb.gui.tests
{
    [TestFixture]
    public class Blaetternanfrage_konstruieren
    {
        [Test]
        public void Blaetternanfrage_auf_Seite_eins() {
            var sut = new Blaetteranfrage_konstruieren();

            sut.Result += sut_Result;
            sut.Process(1);
        }

        private void sut_Result(Tuple<int, Richtung, long> obj) {
            Assert.AreEqual(new Tuple<int, Richtung, long>(1, Richtung.Anfang, 1), obj);
        }
    }
}